Der Systemdatentyp TADDR_Param enthält Adressinformation, bestehend aus einer IPV4-Adresse und der Port-Nummer.
Die Funktion LGF_TaddrToString konvertiert eine Variable vom Systemdatentyp TADDR_Param in eine Variable des Datentyp String.
| LGF_TaddrToString (FC) | ||||||||
|---|---|---|---|---|---|---|---|---|
| TADDR_Param | ipAdressTaddr | Ret_Val | String | |||||
| Bezeichner | Datentyp | Beschreibung |
|---|---|---|
| ipAdressTaddr | TADDR_Param | IP-Adresse und Port Nummer die konvertiert wird |
| Bezeichner | Datentyp | Beschreibung |
|---|---|---|
| Ret_Val | String | IP-Adresse und Port Nummer als String |
Die Funktion konvertiert die IPV4-Adresse mit oder ohne Portnummer. Der Systemdatentyp TADDR_Param ist ein strukturierter Datentyp. In dieser Struktur befindet sich die Variable REM_PORT_NR. Falls diese Variable 0 ist, wird kein Port in den Parameter Ret_Val geschrieben.
Ret_Val:192.168.11.11192.168.11.11:3294| Version & Datum | Änderungsbeschreibung | |
|---|---|---|
| 1.0.0 | Siemens Industry Online Support | |
| 19.01.2017 | First released version | |
| 1.0.1 | Siemens Industry Online Support | |
| 17.08.2018 | Upgrade: TIA V15 Update 2 | |
| 1.0.2 | Industry Online Support | |
| 23.11.2018 | Upgrade: TIA V15.1 | |
| 1.0.3 | Simatic Systems Support | |
| 17.06.2019 | Standard header and block parameters update | |
| 1.0.4 | Simatic Systems Support | |
| 10.07.2019 | Refactoring of While to Do/While and constants inserted | |
| 1.0.5 | Simatic Systems Support | |
| 30.07.2019 | Add ENO handling | |
| 3.0.0 | Simatic Systems Support | |
| 23.04.2020 | Set version to V3.0.0 Harmonize the version of the whole library | |
| 3.0.1 | Simatic Systems Support | |
| 23.02.2021 | Insert documentation | |